.class public Lcom/instagram/android/fragment/gi;
.super Lcom/instagram/android/fragment/gc;
.source "SingleMediaFeedFragment.java"


# instance fields
.field private ad:Ljava/lang/String;

.field private ae:Z

.field private af:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 16
    invoke-direct {p0}, Lcom/instagram/android/fragment/gc;-><init>()V

    .line 26
    iput-object v1, p0, Lcom/instagram/android/fragment/gi;->ad:Ljava/lang/String;

    .line 27
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/fragment/gi;->ae:Z

    .line 28
    iput-object v1, p0, Lcom/instagram/android/fragment/gi;->af:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gi;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 16
    iget-object v0, p0, Lcom/instagram/android/fragment/gi;->ad:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method protected a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)",
            "Lcom/instagram/android/d/e/s;"
        }
    .end annotation

    .prologue
    .line 90
    new-instance v0, Lcom/instagram/android/fragment/gj;

    const/4 v1, 0x0

    invoke-direct {v0, p0, p0, v1, p1}, Lcom/instagram/android/fragment/gj;-><init>(Lcom/instagram/android/fragment/gi;Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 32
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/gc;->a(Landroid/os/Bundle;)V

    .line 34
    if-eqz p1, :cond_0

    .line 36
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/fragment/gi;->ae:Z

    .line 39
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gi;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "com.instagram.android.fragment.KEY_REFERRER"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/gi;->af:Ljava/lang/String;

    .line 53
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gi;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "com.instagram.android.fragment.ARGUMENTS_KEY_LOAD_FROM_NETWORK"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    .line 55
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gi;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "com.instagram.android.fragment.ARGUMENTS_KEY_EXTRA_MEDIA_ID"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/instagram/android/fragment/gi;->ad:Ljava/lang/String;

    .line 57
    if-nez v0, :cond_1

    .line 58
    invoke-static {}, Lcom/instagram/j/u;->a()Lcom/instagram/j/u;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gi;->ad:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/instagram/j/u;->b(Ljava/lang/String;)Lcom/instagram/j/l;

    move-result-object v0

    .line 60
    if-eqz v0, :cond_1

    .line 61
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gi;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/android/feed/a/a;->a(Lcom/instagram/j/l;)V

    .line 68
    :goto_0
    return-void

    .line 67
    :cond_1
    const/4 v0, 0x1

    new-instance v1, Lcom/instagram/android/fragment/o;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/o;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/fragment/gi;->a(ZLcom/instagram/android/fragment/o;)V

    goto :goto_0
.end method

.method public a(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 81
    const-string v0, "src"

    const-string v1, "single"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 82
    return-void
.end method

.method public ac()Z
    .locals 1

    .prologue
    .line 77
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gi;->ae:Z

    return v0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 100
    iget-object v0, p0, Lcom/instagram/android/fragment/gi;->af:Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 101
    iget-object v0, p0, Lcom/instagram/android/fragment/gi;->af:Ljava/lang/String;

    .line 103
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "feed_single_item"

    goto :goto_0
.end method

.method public x()V
    .locals 1

    .prologue
    .line 72
    invoke-super {p0}, Lcom/instagram/android/fragment/gc;->x()V

    .line 73
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/fragment/gi;->ae:Z

    .line 74
    return-void
.end method
